package com.dt76.smallloanbackendservice.mapper.lhuaw;

import com.dt76.smallloanbackendservice.pojo.lhuaw.UserFeedback;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserFeedbackMapper {
    //查询
    List<UserFeedback> qryAllFeedback();
    //动态查询+分页
    List<UserFeedback> qryConditionPageAllFeedback(
            @Param("start") int start,
            @Param("size") int size,
            @Param("userName") String userName,
            @Param("feedbackQuestion") String feedbackQuestion);
    int qryConditionCountFeedback(@Param("userName") String userName,
                                  @Param("feedbackQuestion") String feedbackQuestion);
    //删除
    void deleteFeedback(@Param("ufId") int ufId);

}
